#pragma once
#include "json/json.h"

class ConsumerSelfModel
{
public:
	ConsumerSelfModel(void);
	~ConsumerSelfModel(void);

	ConsumerSelfModel& operator=(const ConsumerSelfModel& infoModel);

	int m_id;
	int m_consumerID;
	CString m_companyName;
	int m_companyAddr;
	int m_setupTime;
	int m_shareRate;
	int m_publicBill;
	int m_privateBill;
	int m_monthTurnover;
	int m_duty;
	int m_monthRent;
	int m_staffNum;
	int m_socialSecurityNum;
	int m_caseNum;
	int m_childSZSchool;
	int m_marriage;
	int m_industry;

	void parseFromJson(Json::Value& jsonData);
	void toJson(Json::Value& jsonData);

};

